package com.glowdayz.glowmee.cmd;

import java.util.ArrayList;
import java.util.Arrays;

import com.glowdayz.common.MultipartBox.FileInfo;

/** 파우치 정보를 표현하는 Model 클래스 */
public class PouchCMD {
	
	private int idPouch;
	private int idRegister;
	private String idRegisterValue;
	private String userType;
	private int idPouchCategory;
	private String idPouchCategoryValue;
	private String pouchTitle;
	private String pouchText;
	private int readCount;
	private double pouchScore;
	private int recommendCount;
	private int isDisplay;
	private int todayPouch;
	private int editerPick;
	private int pouchImg;
	private String start_date;
	private String end_date;
	private String create_date;
	private String modified_date;
	private FileInfo image;
	private FileInfo userImage;
	private FileInfo brandImage;
	private ArrayList<PouchProductMapCMD> list;
	private int productCount;
	private int commentCount;
	private int idBrand;
	private String idBrandValue;
	private int birthYear;
	private String skinType;
	private int[] productArr;
	
	public PouchCMD() {
	}
	
	/** 파우치 전시여부용 */
	public PouchCMD(int idPouch, int isDisplay) {
		super();
		this.idPouch = idPouch;
		this.isDisplay = isDisplay;
	}
	
	/** 에디터 파우치 추가용 */
	public PouchCMD(int idRegister, int idPouchCategory,
			String pouchTitle, String pouchText, int editerPick, FileInfo image, int idBrand) {
		super();
		this.idRegister = idRegister;
		this.idPouchCategory = idPouchCategory;
		this.pouchTitle = pouchTitle;
		this.pouchText = pouchText;
		this.editerPick = editerPick;
		this.image = image;
		this.idBrand = idBrand;
	}
	
	/** 에디터 파우치 조회용 */
	public PouchCMD(int idPouch, int idPouchCategory, String pouchTitle, String pouchText,
			int recommendCount, int isDisplay, int editerPick, int pouchImg, String create_date,
			FileInfo image, ArrayList<PouchProductMapCMD> list, int commentCount, int idBrand) {
		super();
		this.idPouch = idPouch;
		this.idPouchCategory = idPouchCategory;
		this.pouchTitle = pouchTitle;
		this.pouchText = pouchText;
		this.recommendCount = recommendCount;
		this.isDisplay = isDisplay;
		this.editerPick = editerPick;
		this.pouchImg = pouchImg;
		this.create_date = create_date;
		this.image = image;
		this.list = list;
		this.commentCount = commentCount;
		this.idBrand = idBrand;
	}
	
	/** 유저 파우치 조회용 */
	public PouchCMD(int idPouch, int idPouchCategory, String pouchTitle, String pouchText,
			int recommendCount, int isDisplay, int editerPick, int pouchImg, String create_date,
			ArrayList<PouchProductMapCMD> list, int commentCount, String idRegisterValue) {
		super();
		this.idPouch = idPouch;
		this.idPouchCategory = idPouchCategory;
		this.pouchTitle = pouchTitle;
		this.pouchText = pouchText;
		this.recommendCount = recommendCount;
		this.isDisplay = isDisplay;
		this.editerPick = editerPick;
		this.pouchImg = pouchImg;
		this.create_date = create_date;
		this.list = list;
		this.commentCount = commentCount;
		this.idRegisterValue = idRegisterValue;
	}
	
	/** 에디터파우치 리스트용 */
	public PouchCMD(int idPouch, int idPouchCategory, String idPouchCategoryValue,
			String pouchTitle, int recommendCount, int isDisplay,
			int editerPick, int pouchImg, String create_date, FileInfo image, int productCount, int commentCount) {
		super();
		this.idPouch = idPouch;
		this.idPouchCategory = idPouchCategory;
		this.idPouchCategoryValue = idPouchCategoryValue;
		this.pouchTitle = pouchTitle;
		this.recommendCount = recommendCount;
		this.isDisplay = isDisplay;
		this.editerPick = editerPick;
		this.pouchImg = pouchImg;
		this.create_date = create_date;
		this.image = image;
		this.productCount = productCount;
		this.commentCount = commentCount;
	}
	
	/** 유저파우치 리스트용 */
	public PouchCMD(int idPouch, int idPouchCategory, String idPouchCategoryValue,
			String pouchTitle, int recommendCount, int isDisplay,
			int idRegister, String idRegisterValue, int pouchImg, String create_date, FileInfo image, int productCount, int commentCount) {
		super();
		this.idPouch = idPouch;
		this.idPouchCategory = idPouchCategory;
		this.idPouchCategoryValue = idPouchCategoryValue;
		this.pouchTitle = pouchTitle;
		this.recommendCount = recommendCount;
		this.isDisplay = isDisplay;
		this.idRegister = idRegister;
		this.idRegisterValue = idRegisterValue;
		this.pouchImg = pouchImg;
		this.create_date = create_date;
		this.image = image;
		this.productCount = productCount;
		this.commentCount = commentCount;
	}
	
	/** 에디터파우치 수정용 */
	public PouchCMD(int idPouch, int idPouchCategory, String pouchTitle, String pouchText,
			int isDisplay, int editerPick, FileInfo image, int idBrand) {
		super();
		this.idPouch = idPouch;
		this.idPouchCategory = idPouchCategory;
		this.pouchTitle = pouchTitle;
		this.pouchText = pouchText;
		this.isDisplay = isDisplay;
		this.editerPick = editerPick;
		this.image = image;
		this.idBrand = idBrand;
	}
	
	/** 유저파우치 수정용 */
	public PouchCMD(int idPouch, int idPouchCategory, String pouchTitle, String pouchText,
			int isDisplay) {
		super();
		this.idPouch = idPouch;
		this.idPouchCategory = idPouchCategory;
		this.pouchTitle = pouchTitle;
		this.pouchText = pouchText;
		this.isDisplay = isDisplay;
	}
	
	/** 오늘의파우치 리스트용 */
	public PouchCMD(int idPouch, String idRegisterValue, String userType,
			String pouchTitle, int isDisplay, int pouchImg, String create_date,
			FileInfo image, int productCount) {
		super();
		this.idPouch = idPouch;
		this.idRegisterValue = idRegisterValue;
		this.userType = userType;
		this.pouchTitle = pouchTitle;
		this.isDisplay = isDisplay;
		this.pouchImg = pouchImg;
		this.create_date = create_date;
		this.image = image;
		this.productCount = productCount;
	}
	
	/** 오늘의파우치 xml */
	public PouchCMD(int idPouch, String idRegisterValue, String userType,
			String pouchTitle, int isDisplay, int pouchImg, String create_date,
			FileInfo image, int productCount, int recommendCount, int commentCount) {
		super();
		this.idPouch = idPouch;
		this.idRegisterValue = idRegisterValue;
		this.userType = userType;
		this.pouchTitle = pouchTitle;
		this.isDisplay = isDisplay;
		this.pouchImg = pouchImg;
		this.create_date = create_date;
		this.image = image;
		this.productCount = productCount;
		this.recommendCount = recommendCount;
		this.commentCount = commentCount;
	}
	
	/** 에디터의픽 등록/수정 */
	public PouchCMD(int idPouch, String start_date, String end_date) {
		super();
		this.idPouch = idPouch;
		this.start_date = start_date;
		this.end_date = end_date;
	}
	
	/** 에디터의픽 리스트조회 */
	public PouchCMD(int idPouch, String pouchTitle,
			String start_date, String end_date) {
		super();
		this.idPouch = idPouch;
		this.pouchTitle = pouchTitle;
		this.start_date = start_date;
		this.end_date = end_date;
	}
	
	/** 픽 리스트 xml */
	public PouchCMD(int idPouch, int idRegister, String idRegisterValue, String userType, String idPouchCategoryValue,
			String pouchTitle, String pouchText, int readCount, int recommendCount, int editerPick,
			String create_date, FileInfo image, FileInfo userImage, FileInfo brandImage,
			int productCount, int commentCount, int idBrand, String idBrandValue, int birthYear, String skinType) {
		super();
		this.idPouch = idPouch;
		this.idRegister = idRegister;
		this.idRegisterValue = idRegisterValue;
		this.userType = userType;
		this.idPouchCategoryValue = idPouchCategoryValue;
		this.pouchTitle = pouchTitle;
		this.pouchText = pouchText;
		this.recommendCount = recommendCount;
		this.editerPick = editerPick;
		this.create_date = create_date;
		this.image = image;
		this.userImage = userImage;
		this.brandImage = brandImage;
		this.productCount = productCount;
		this.commentCount = commentCount;
		this.idBrand = idBrand;
		this.idBrandValue = idBrandValue;
		this.birthYear = birthYear;
		this.skinType = skinType;
	}
	
	/** 회원 픽 추가 xml */
	public PouchCMD(int idRegister, String idPouchCategoryValue,
			String pouchTitle, String pouchText, int[] productArr) {
		super();
		this.idRegister = idRegister;
		this.idPouchCategoryValue = idPouchCategoryValue;
		this.pouchTitle = pouchTitle;
		this.pouchText = pouchText;
		this.productArr = productArr;
	}
	
	/** 회원 픽 수정 xml */
	public PouchCMD(String idPouchCategoryValue,
			String pouchTitle, String pouchText, int[] productArr, int idPouch) {
		super();
		this.idPouchCategoryValue = idPouchCategoryValue;
		this.pouchTitle = pouchTitle;
		this.pouchText = pouchText;
		this.productArr = productArr;
		this.idPouch = idPouch;
	}

	public PouchCMD(int idPouch, int idRegister, String idRegisterValue,
			String userType, int idPouchCategory, String idPouchCategoryValue,
			String pouchTitle, String pouchText, int readCount,
			double pouchScore, int recommendCount, int isDisplay,
			int todayPouch, int editerPick, int pouchImg, String start_date,
			String end_date, String create_date, String modified_date,
			FileInfo image, FileInfo userImage, FileInfo brandImage,
			ArrayList<PouchProductMapCMD> list, int productCount,
			int commentCount, int idBrand, String idBrandValue, int birthYear,
			String skinType, int[] productArr) {
		super();
		this.idPouch = idPouch;
		this.idRegister = idRegister;
		this.idRegisterValue = idRegisterValue;
		this.userType = userType;
		this.idPouchCategory = idPouchCategory;
		this.idPouchCategoryValue = idPouchCategoryValue;
		this.pouchTitle = pouchTitle;
		this.pouchText = pouchText;
		this.readCount = readCount;
		this.pouchScore = pouchScore;
		this.recommendCount = recommendCount;
		this.isDisplay = isDisplay;
		this.todayPouch = todayPouch;
		this.editerPick = editerPick;
		this.pouchImg = pouchImg;
		this.start_date = start_date;
		this.end_date = end_date;
		this.create_date = create_date;
		this.modified_date = modified_date;
		this.image = image;
		this.userImage = userImage;
		this.brandImage = brandImage;
		this.list = list;
		this.productCount = productCount;
		this.commentCount = commentCount;
		this.idBrand = idBrand;
		this.idBrandValue = idBrandValue;
		this.birthYear = birthYear;
		this.skinType = skinType;
		this.productArr = productArr;
	}

	public int getIdPouch() {
		return idPouch;
	}

	public void setIdPouch(int idPouch) {
		this.idPouch = idPouch;
	}

	public int getIdRegister() {
		return idRegister;
	}

	public void setIdRegister(int idRegister) {
		this.idRegister = idRegister;
	}

	public String getIdRegisterValue() {
		return idRegisterValue;
	}

	public void setIdRegisterValue(String idRegisterValue) {
		this.idRegisterValue = idRegisterValue;
	}

	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}

	public int getIdPouchCategory() {
		return idPouchCategory;
	}

	public void setIdPouchCategory(int idPouchCategory) {
		this.idPouchCategory = idPouchCategory;
	}

	public String getIdPouchCategoryValue() {
		return idPouchCategoryValue;
	}

	public void setIdPouchCategoryValue(String idPouchCategoryValue) {
		this.idPouchCategoryValue = idPouchCategoryValue;
	}

	public String getPouchTitle() {
		return pouchTitle;
	}

	public void setPouchTitle(String pouchTitle) {
		this.pouchTitle = pouchTitle;
	}

	public String getPouchText() {
		return pouchText;
	}

	public void setPouchText(String pouchText) {
		this.pouchText = pouchText;
	}

	public int getReadCount() {
		return readCount;
	}

	public void setReadCount(int readCount) {
		this.readCount = readCount;
	}

	public double getPouchScore() {
		return pouchScore;
	}

	public void setPouchScore(double pouchScore) {
		this.pouchScore = pouchScore;
	}

	public int getRecommendCount() {
		return recommendCount;
	}

	public void setRecommendCount(int recommendCount) {
		this.recommendCount = recommendCount;
	}

	public int getIsDisplay() {
		return isDisplay;
	}

	public void setIsDisplay(int isDisplay) {
		this.isDisplay = isDisplay;
	}

	public int getTodayPouch() {
		return todayPouch;
	}

	public void setTodayPouch(int todayPouch) {
		this.todayPouch = todayPouch;
	}

	public int getEditerPick() {
		return editerPick;
	}

	public void setEditerPick(int editerPick) {
		this.editerPick = editerPick;
	}

	public int getPouchImg() {
		return pouchImg;
	}

	public void setPouchImg(int pouchImg) {
		this.pouchImg = pouchImg;
	}

	public String getStart_date() {
		return start_date;
	}

	public void setStart_date(String start_date) {
		this.start_date = start_date;
	}

	public String getEnd_date() {
		return end_date;
	}

	public void setEnd_date(String end_date) {
		this.end_date = end_date;
	}

	public String getCreate_date() {
		return create_date;
	}

	public void setCreate_date(String create_date) {
		this.create_date = create_date;
	}

	public String getModified_date() {
		return modified_date;
	}

	public void setModified_date(String modified_date) {
		this.modified_date = modified_date;
	}

	public FileInfo getImage() {
		return image;
	}

	public void setImage(FileInfo image) {
		this.image = image;
	}

	public FileInfo getUserImage() {
		return userImage;
	}

	public void setUserImage(FileInfo userImage) {
		this.userImage = userImage;
	}

	public FileInfo getBrandImage() {
		return brandImage;
	}

	public void setBrandImage(FileInfo brandImage) {
		this.brandImage = brandImage;
	}

	public ArrayList<PouchProductMapCMD> getList() {
		return list;
	}

	public void setList(ArrayList<PouchProductMapCMD> list) {
		this.list = list;
	}

	public int getProductCount() {
		return productCount;
	}

	public void setProductCount(int productCount) {
		this.productCount = productCount;
	}

	public int getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(int commentCount) {
		this.commentCount = commentCount;
	}

	public int getIdBrand() {
		return idBrand;
	}

	public void setIdBrand(int idBrand) {
		this.idBrand = idBrand;
	}

	public String getIdBrandValue() {
		return idBrandValue;
	}

	public void setIdBrandValue(String idBrandValue) {
		this.idBrandValue = idBrandValue;
	}

	public int getBirthYear() {
		return birthYear;
	}

	public void setBirthYear(int birthYear) {
		this.birthYear = birthYear;
	}

	public String getSkinType() {
		return skinType;
	}

	public void setSkinType(String skinType) {
		this.skinType = skinType;
	}

	public int[] getProductArr() {
		return productArr;
	}

	public void setProductArr(int[] productArr) {
		this.productArr = productArr;
	}

	@Override
	public String toString() {
		return "PouchCMD [idPouch=" + idPouch + ", idRegister=" + idRegister
				+ ", idRegisterValue=" + idRegisterValue + ", userType="
				+ userType + ", idPouchCategory=" + idPouchCategory
				+ ", idPouchCategoryValue=" + idPouchCategoryValue
				+ ", pouchTitle=" + pouchTitle + ", pouchText=" + pouchText
				+ ", readCount=" + readCount + ", pouchScore=" + pouchScore
				+ ", recommendCount=" + recommendCount + ", isDisplay="
				+ isDisplay + ", todayPouch=" + todayPouch + ", editerPick="
				+ editerPick + ", pouchImg=" + pouchImg + ", start_date="
				+ start_date + ", end_date=" + end_date + ", create_date="
				+ create_date + ", modified_date=" + modified_date + ", image="
				+ image + ", userImage=" + userImage + ", brandImage="
				+ brandImage + ", list=" + list + ", productCount="
				+ productCount + ", commentCount=" + commentCount
				+ ", idBrand=" + idBrand + ", idBrandValue=" + idBrandValue
				+ ", birthYear=" + birthYear + ", skinType=" + skinType
				+ ", productArr=" + Arrays.toString(productArr) + "]";
	}
}
